home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / devices / bootblock.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  761b  |  34 lines

  1. #ifndef DEVICES_BOOTBLOCK_H
  2. #define DEVICES_BOOTBLOCK_H
  3. /*
  4. **    $Filename: devices/bootblock.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 36.6 $
  7. **    $Date: 90/11/05 $
  8. **
  9. **    floppy BootBlock definition
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include    "exec/types.h"
  17. #endif
  18.  
  19. struct BootBlock {
  20.     UBYTE    bb_id[4];        /* 4 character identifier */
  21.     LONG    bb_chksum;        /* boot block checksum (balance) */
  22.     LONG    bb_dosblock;        /* reserved for DOS patch */
  23. };
  24.  
  25. #define        BOOTSECTS    2    /* 1K bootstrap */
  26.  
  27. #define BBID_DOS    { 'D', 'O', 'S', '\0' }
  28. #define BBID_KICK    { 'K', 'I', 'C', 'K' }
  29.  
  30. #define BBNAME_DOS    0x444F5300    /* 'DOS\0' */
  31. #define BBNAME_KICK    0x4B49434B    /* 'KICK' */
  32.  
  33. #endif    /* DEVICES_BOOTBLOCK_H */
  34.